<?php
	require("header.php");
?>
<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <span><i class="icon-home"></i> 主页</span></div>
  </div>

  <div class="container-fluid">

    <div class="row-fluid">
      <div class="widget-box">
        <div class="widget-title bg_lg"><span class="icon"><i class="icon-th-list"></i></span>
          <?php
          	if($userType === "admin") { 
          		echo '<h5>人员管理</h5>';
          	} else { 
          		echo '<h5>问题单</h5>';
          	}
          ?>
        </div>
        <div class="widget-content" >
          <div class="row-fluid">
             <ul class="quick-actions">
	             <?php
	             	if($userType === "admin") { 
	             		echo '<li class="bg_lg span2"> <a href="addpop.php"> <i class="icon-bar-chart"></i> 添加人员 </a> </li>';
	             		//echo '<li class="bg_lv span2"> <a href="#"> <i class=" icon-remove"></i> 删除人员 </a> </li>';
	             	} else{ 
	             		if($userType === "qc") { 
	             			echo '<li class="bg_lg span2"> <a href="createproblem.php"> <i class="icon-edit"></i> 创建问题单 </a> </li>';
	             		}
	             		echo '<li class="bg_lv span2"> <a href="problemlist.php"> <i class="icon-info-sign"></i> 我的问题单 </a> </li>';
	             	}
	             ?>
             </ul>
          </div>
        </div>
      </div>
    </div>
    <hr/>
        
</div>
<?php
	require("footer.php");
?>

